package gestion;

import com.nilo.plaf.nimrod.NimRODLookAndFeel;
import com.nilo.plaf.nimrod.NimRODTheme;
import java.awt.Color;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import ventanasYDialogos.VPresentacion;

public class ClaseMain {

    public static void main(String[] args) {
        try {

            UIManager.setLookAndFeel(new com.nilo.plaf.nimrod.NimRODLookAndFeel());

            //Haciendo una propia
            NimRODTheme nt = new NimRODTheme();
            NimRODLookAndFeel NimRODLF = new NimRODLookAndFeel();
            NimRODLF.setCurrentTheme(nt);
            nt.setPrimary1(new Color(2043450));
            nt.setPrimary2(new Color(2701380));
            nt.setPrimary3(new Color(3359310));
            nt.setSecondary1(new Color(3881787));
            nt.setSecondary2(new Color(4539717));
            nt.setSecondary3(new Color(5197647));
            nt.setWhite(new Color(7434609));
            nt.setBlack(new Color(16777215));
            nt.setFrameOpacity(0);
            nt.setMenuOpacity(180);
            UIManager.setLookAndFeel(NimRODLF);
            UIManager.put("ToggleButton.disabledText", Color.WHITE);
            UIManager.put("ToggleButton.foreground", Color.BLACK);
            UIManager.put("ToolTip.foreground", Color.WHITE);

            //Facebook
            String f_url = " ";
            String f_img = "http://vids.mdzol.com/files/image/283/283916/4e257eb43a8bc.jpg";
            String f_tit = "TEG";
            String f_sum = "Nico a conquistado España; Guille no está contento con esto";
            String f = "http://www.facebook.com/sharer.php?s=100&p[url]=" + f_url + "&p[images][0]=" + f_img + "&p[title]=" + f_tit + "&p[summary]="+f_sum;
            //UtilNavegador.abrirURL(f);
            
            //Twitter
            String t_sum ="Nico a conquistado España; Guille no está contento con esto";
            String t ="http://twitter.com/home/?status="+t_sum+" vía @cuatroanima";
            //UtilNavegador.abrirURL(t);
            
            VPresentacion vp = new VPresentacion();
            vp.setVisible(true);
            vp.setLocationRelativeTo(null);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(ClaseMain.class.getName()).log(Level.SEVERE, null, ex);
        }

    }
}